package top.toptimus.dto.result;

import lombok.Data;
import top.toptimus.constValue.MessageConsts;

@Data
public class PlainMessageResult {
    private String errorCode;
    private String errorMessage;

    public PlainMessageResult() {
        this.errorCode = MessageConsts.OK;
    }

    public PlainMessageResult(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }
}
